package com.meilai.project.vo.finance.reimburse;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.meilai.project.entity.finance.reimburse.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

@Data
public class ReimburseApplyVO extends ReimburseApply {
    @ApiModelProperty(value = "姓名")
    private String real_name;

    @ApiModelProperty(value = "销售单合同编号")
    private String sale_contract_num;

    @ApiModelProperty(value = "销售单开始执行时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate actual_execute_time_start;

    @ApiModelProperty(value = "销售单结束执行时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate actual_execute_time_end;

    @ApiModelProperty(value = "合同编号")
    private String contract_num;

    @ApiModelProperty(value = "合同甲方名称")
    private String part_a;

    @ApiModelProperty(value = "合同开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate contract_begin_date;

    @ApiModelProperty(value = "合同结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate contract_end_date;

    @ApiModelProperty(value = "当前人是否可以审核")
    private Boolean can_check;

    @ApiModelProperty(value = "当前人是否为提交人")
    private Boolean is_applyer;

    @ApiModelProperty("付款详情 列表页为空")
    private List<ReimburseApplyDetail> reimburseApplyDetailList;

    @ApiModelProperty("对公报销详情 列表页为空")
    private List<ReimbursePublicDetail> reimbursePublicDetailList;

    @ApiModelProperty("对私报销详情 列表页为空")
    private List<ReimbursePrivateDetail> reimbursePrivateDetailList;

    @ApiModelProperty("附件详情 列表页为空")
    private List<ReimburseApplyAttachment> reimburseApplyAttachmentList;
}
